#-------------------------------------------------
#
# Project created by QtCreator 2019-12-17T16:44:53
#
#-------------------------------------------------
DEFINES += BUILD_ARM
#DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS
QT       += core gui
QT       += sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = InputMethodTest
TEMPLATE = app


SOURCES += main.cpp\
        mainwindow.cpp \
    testdialog.cpp \
    frminput.cpp

HEADERS  += mainwindow.h \
    testdialog.h \
    frminput.h

FORMS    += mainwindow.ui \
    testdialog.ui \
    frminput.ui

#INCLUDEPATH += ../InputMethodDll



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS


}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86
LIBS += -L../../lib/x86 -lInputMethodDll


#编译目录
UI_DIR += ../../build/tmphmi/x86_linux
MOC_DIR += ../../build/tmphmi/x86_linux
OBJECTS_DIR += ../../build/tmphmi/x86_linux
RCC_DIR  += ../../build/tmphmi/x86_linux
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
#LIBS += -L../../lib/arm -lInputMethodDll


#编译目录
UI_DIR += ../../build/tmphmi_arm
MOC_DIR += ../../build/tmphmi_arm
OBJECTS_DIR += ../../build/tmphmi_arm
RCC_DIR  += ../../build/tmphmi_arm
}

